<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var height = parseFloat(prompt("请输入您的身高（cm）","178"));
        var weight = parseFloat(prompt("请输入您的体重（斤）","124"));
        var i = (height - 108) * 2;
        if (weight > i + 10 ) {
            alert("您偏胖！")
        } else if ( weight < i - 10) {
            alert("您偏瘦！")
        } else {
            alert("您是标准体重！")
        }
    </script>
</head>
<body>
    
</body>
</html>